package com.dji.sample.manage.model.enums;

/**
 * @author yjt
 * @date 2022-09-09
 * @description:
 */
public enum DeviceStatusEnum {

    ONLINE(1, "online"),

    OFFLINE(2, "offline"),

    UNKNOWN(-1, "unknown");

    private int val;

    private String desc;

    DeviceStatusEnum(int val, String desc) {
        this.val = val;
        this.desc = desc;
    }

    public int getVal() {
        return val;
    }

    public void setVal(int val) {
        this.val = val;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
